import { post } from '@/utils/httpUtil'

import { ResultType } from '@/types/result'

export function loginApi(params: Object): Promise<ResultType> {
  return post('/system/login', params)
}
